const mongoose = require('mongoose')
const Schema = mongoose.Schema;
const { BaseParameter } = require('../base/model')

const HomeLinkSchema = new Schema({
  ...BaseParameter,
  /**
   * 标题
   */
  "title": {type: String, default: ''},
  /**
   * 跳转链接
   */
  "link": {type: String, default: ''}
});

const homeLink = mongoose.model('HomeLink', HomeLinkSchema, 'homeLink');

module.exports = homeLink
